package com.blog.service.sys;
import java.util.List;
import java.util.Map;

import com.blog.common.base.ResponseReslut;
import com.blog.entity.sys.User;

public interface UserService {
			
	public ResponseReslut saveUser(User  user);
	
	public ResponseReslut findByUserName(String username);
	
	public List<User> listUser(Map<String,Object> param);
	
	public Integer countUser(Map<String,Object> param);
	
	Integer deleteUsers(Integer userIds);
	
	User getUser(Integer id);
	
	Integer update(User user);

	String selectUserName(String username);
	
	Integer deleteUser(Integer id);
}
